<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
	<script src="../node_modules/axios/dist/axios.js"></script>
</head>
<body>

</body>
<script type="module">
	// axios返回的是一个Promise实例
	import axios from "./index.js";
	axios({
		url:"/scoreList",
		baseURL:"http://zhangpeiyue.com"
	}).then(value=>{
		console.log(value.data);
	})
	
</script>
</html>